package ch.jamme.model.rel1;

import java.util.*;

import ch.jamme.model.*;

public class ItemImpl extends AbstractDomainObject implements Item {
	
	private String code;
	
	private List<Shop> shops = new ArrayList<Shop>();
	
	private String[] names;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public List<Shop> getShops() {
		return shops;
	}
	public void setShops(List<Shop> shops) {
		this.shops = shops;
	}
	
	public String[] getNames() {
		return names;
	}
	public void setNames(String[] names) {
		this.names = names;
	}
	
	public String getHumanReadableDescription() {
		return "Item code `"+getCode()+"`";
	}

}
